package com.store.domain.dto;

import lombok.Data;

import java.util.Date;

/**
 * @author yu
 * @date 2024/6/26
 */
@Data
public class OrderDto {
    private String id;

    //下单用户
    private Integer userId;
    //创建订单时间
    private Date createDate;
    //支付方式
    private String payWay;
    //快递单号
    private Integer trackingNumber;
    //配送方式
    private String distributionMode;
    //订单状态
    /**
     *
     *     1.已创建未支付
     *     2.已支付未发货
     *     3.已发货未收货
     *     4.已收货
     *     5.已关闭 只能关闭 已创建未支付的订单
     *
     */
    private Integer status;
    //支付时间
    private Date payDate;
    //收货人姓名
    private String receiveUsername;
    //收货地址
    private String receiveAddress;
    //收货人电话
    private String receivePhone;
    private String orderId;
    private Integer[] shopCarIds;
}
